// samsting : this file is auto create.

#include "Emr/2015-09-10/ListJobsRequest.h"

namespace aliyun { namespace Emr {

ListJobsRequest::ListJobsRequest() : RpcAcsRequest("Emr", "2015-09-10", "ListJobs") {
}

bool ListJobsRequest::GetIsDesc(void) const {
  return IsDesc_;
}
void ListJobsRequest::SetIsDesc(bool IsDesc) {
  IsDesc_ = IsDesc;
  PutQueryParameter("IsDesc", string_ValueOfBool(IsDesc_));
}

int ListJobsRequest::GetPageNumber(void) const {
  return PageNumber_;
}
void ListJobsRequest::SetPageNumber(int PageNumber) {
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
}

int ListJobsRequest::GetPageSize(void) const {
  return PageSize_;
}
bool ListJobsRequest::SetPageSize(int PageSize) {
  if(PageSize > 500) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}


} } // namespace aliyun { namespace Emr {

// end of file 
